package xyz.zhzby.cyzx.oj.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import xyz.zhzby.cyzx.servicebase.domain.PageRequest;

/**
 * @author zby
 * @date 2022/01/19
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("文章查询封装")
public class ProblemPageRequest extends PageRequest {

    @ApiModelProperty("试题标签ID")
    private Long categoryID;

    @ApiModelProperty("试题题目、编号或内容（万能搜索）")
    private String search;

    @ApiModelProperty("用户ID（为空为查询所有）")
    private Long userID;

    @ApiModelProperty("试题状态（0草稿1发布2回收站）")
    private Integer status;

    @ApiModelProperty("做题进程（0已通过 1尝试未通过 2未尝试）")
    private Integer process;

}
